parent nodes: PrefuseDoku
Expression Filter with Expression Parser
You can create a Expression with the ExpressionParser.
For example:
// creates an expression wich refers to all Tuples with field edgeType = 'sepicalEgde'
Predicate specialEdgePredicate = ExpressionParser.predicate("edgeType == 'specialEdge' ");
// creates an expression wich refers to all Tuples with field name starting with 'eva'
Predicate specialNodePredicate = ExpressionParser.predicate("LEFT(name, 3)== 'eva' ");The API documentation is exhaustive:
http://prefuse.org/doc/api/prefuse/data/expression/parser/ExpressionParser.html